﻿#ifndef WIDGET_H
#define WIDGET_H

#include "journal.h"
#include "purchaselog.h"
#include "itemwidget.h"
#include "receipt.h"
#include "mac_whitelist.h"

namespace Ui {
class Widget;
}

class Helper : public QWidget
{
    Q_OBJECT

public:
    explicit Helper(QWidget *parent = 0);
    ~Helper();

    void initializeWidgets();

protected:
    void closeEvent(QCloseEvent *);

private slots:
    void on_btn_pruchaseLog_clicked();

    void on_btn_macWhiteList_clicked();

    void on_btn_receipt_clicked();

private:
    Ui::Widget *ui;

    Journal *journal;
    PurchaseLog *purchaseLog;
    Receipt *receipt;
    MacWhiteList *macWhiteList;
};

#endif // WIDGET_H
